package com.cxso.example.request.ocr;


import com.cxso.example.enums.open.SideTypeEnum;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;


/**
 * 身份证识别入参
 */
@Getter
@Setter
public class OcrIdCardRequest implements Serializable {

    @NotBlank(message = "图片地址不能为空")
    private String url;

    @NotNull(message = "正面或者背面")
    private SideTypeEnum side;

}
